import instance from "@/utils/request";

//方式一
export const getBannerList = () => instance.get('/api/banner/list')
export const getSkillList = (params) => instance.get('/api/pro/seckilllist',{params})
export const getMenuList=()=>instance.get('/api/menu/list')
export const getProList=(params)=>instance.get("/api/pro/list",{params})
export const getDetailPro=(proid)=>instance.get("/api/pro/detail/"+proid)

//方式二
// export function getBannerList(){}